//
//  EFApiConst.m
//  EFHealth
//
//  Created by nf on 15/11/27.
//  Copyright © 2018年 ef. All rights reserved.
//

#import "EFApiConst.h"


//发送验证码 第一步
NSString *const api_sendmsg_1 = @"/public/sms/sendSmsCode.action" ;
//发送验证码 第二部
NSString *const api_sendmsg_2 = @"/public/sms/verifySmsCode.action";

//退出登录
NSString *const api_logiOut = @"/m/logout.action" ;
//登录
NSString *const api_login = @"/m/login.action";
//注册
NSString *const api_rigister = @"/m/phoneRegister.action" ;
//找回密码
NSString *const api_findPWD = @"/m/backPassword.action" ;
//获取用户信息
NSString *const api_me_userInfo = @"/m/user/userinfo.action";

// 版本控制
NSString *const api_version = @"m/version.action";

//上传头像
NSString *const api_upLoadImage = @"http://mbank.nf1000.com/simg/upload";

#pragma mark - 首页

//提问  post 无
NSString *const api_home_ask_add = @"/m/problem/add.action" ;
//健康自测 post 3天
NSString *const api_home_evaluation_list = @"/evaluation/evallist.html";
//健康自测 中医体检 风向评估 历史记录 get 无
NSString *const api_home_evaluation_history = @"/m/getMajoreval.action" ;


//首页 未完成的健康计划
NSString *const api_home_healthPlan_nocompleted = @"m/getHealthPlanUserListNotCompleted.action";

//健康状态分数
NSString *const api_home_healthScore = @"/m/hscore.action";
//banner
NSString *const api_home_banner = @"/public/share/getBanner.action" ;
//资讯
NSString *const api_home_article = @"/m/getNewsList.action";
//健康状态  
NSString *const api_home_healthStatus = @"/m/myHealthInfo.action";
//广告策划
NSString *const api_home_ad = @"/public/share/getTopImages.action" ;
//健康问答
NSString *const api_home_healthAsk = @"/m/indexActivity.action";
//健康问答问题列表
NSString *const api_home_healthAskQuestionList = @"/m/getDutyTopicList.action";
//健康问答提交答案
NSString *const api_home_healthAskQuestionUp = @"/m/getDutyTopicRefer.action";


#pragma mark - 数据
//数据列表
NSString *const api_data_list = @"/m/data/getDeviceData.action" ;
//数据删除接口 
NSString *const api_data_delete = @"/m/data!delDaviceById.action" ;

NSString *const api_data_sport_up = @"/m/data/addBracelet.action";//上传手环数据
NSString *const api_data_sport_upSport = @"/m/data/addBraceletSportData.action" ;//上传手环运动历史数据
NSString *const api_data_sport_upSleep = @"/m/data/addBraceletSleepData.action" ;//上传手环睡眠历史数据
NSString *const api_data_sport_data = @"/m/data!getDetailData.action" ;//历史数据
NSString *const api_data_sportPast_data = @"/m/data!getPastDetailData.action" ;//历史数据
NSString *const api_data_sport_dataDelete = @"/m/data!delDaviceById.action" ;//删除数据

//尿检历史数据
NSString *const api_data_urine_list = @"/m/data!getUrineDetailData.action" ;
//血压历史数据
NSString *const api_data_pressure_list = @"/m/data!getBloodDetailData.action";
//体重历史数据
NSString *const api_data_weight_list = @"/m/data!getBalanceDetailData.action";

//添加血压数据
NSString *const api_data_upSugar = @"/m/data/addSugar.action" ;
//血糖首页数据
NSString *const api_data_sugar_home = @"/m/data!getDetailData.action";
//血糖历史数据
NSString *const api_data_sugar_history = @"/m/data!getSugarDetailData.action";


//添加温度
NSString *const api_data_temp_add = @"/m/data/addtemp.action" ;
//温度历史数据
NSString *const api_data_temp_history = @"/m/data/getTempDetailData.action" ;

//添加手环数据
NSString *const api_data_upSportData = @"/m/data/addBracelet.action" ;
//添加尿检数据
NSString *const api_data_upUrineData =  @"/m/data/addDeviceUrine.action" ; 
//添加体重数据
NSString *const api_data_upWeightData = @"/m/data/addDeviceBalance.action" ;

//添加血压数据
NSString *const api_adta_upPressureData = @"/m/data/addDeviceBlood.action" ;

#pragma makr 血压

#pragma amrk  血氧
//添加血氧
NSString *const api_data_oxygen_add = @"/m/data/addOxygen.action" ;
//血氧历史数据
NSString *const api_data_oxygen_history = @"/m/data/getOxygenData.action" ;


#pragma mark  心电
//添加心电
NSString *const api_data_ecg_add = @"/m/data/addEgc.action" ;
//心电历史数据
NSString *const api_data_ecg_history = @"/m/data/getEgcData.action" ;


#pragma mark 汗液

//获取9路名称
NSString *const api_data_sweat_nameGet = @"/m/getUserSweatSetting.action" ;
//设置9路名称
NSString *const api_data_sweat_nameUpdate = @"/m/updateUserSweatSetting.action"  ;
//添加汗液
NSString *const api_data_sweat_add = @"/m/data/addSweatNineNew.action";
//汗液历史数据
NSString *const api_data_sweat_history = @"/m/data/getSweatDetailData.action" ;
//汗液历史日期列表数据
NSString *const api_data_sweat_dateList = @"/m/data!getDeviceDate.action";


#pragma mark - 我的

//家庭责任人列表
NSString *const api_me_FamilyDutyPerson = @"/m/phPersonList.action" ;
//健康改善方案
NSString *const api_me_HealthImprovePlan = @"/m/dutyPersonHealth.action" ;
//病史接口
NSString *const api_me_sickHistory_common = @"/public/contMedicsSiks.action" ;

#pragma mark 家人
//我的家人
NSString *const api_me_myfimily = @"/m/mfamilyIndex.action";
//绑定我的家人
NSString *const api_me_myfimily_tie = @"/m/mfamilyBind.action" ;
//获取健管机下的用户
NSString *const api_me_myfimily_fetuser = @"/m/mfamilyFetDevUser.action" ;
//绑定健管机下得多个用户
NSString *const api_me_myfimily_tiefetuser = @"/m/mfamilyBindToUser.action";
//取消绑定我的家人
NSString *const api_me_myfimily_untie = @"/m/mfamilyUnbind.action" ;
//获取取消绑定我的家人列表
NSString *const api_me_myfimily_untie_list = @"/m/mfamilyAccount.action" ;



#pragma mark 健康银行
NSString *const api_me_myHealthBank = @"/m/getHealthBankList.action" ;

#pragma mark 方案
//我的健康方案列表（我的 -> 健康方案 -> 列表）
NSString *const api_me_myPlan = @"/m/getHealthSchemeUserList.action" ;
//我的健康方案详情
NSString *const api_me_myPlan_detail = @"/m/getHealthPlanUserList.action";
//我的健康计划详情
NSString *const api_me_myPlan_planDetail = @"m/getHealthPlanUserById.action";

//未完成的方案  <这个接口 + 系统推荐方案列表  =====>> 首页添加新方案 的二级页面>
NSString *const api_me_plan_notCompleted = @"/m/getHealthSchemeUserListNotCompleted.action";
//未完成的计划 <首页用>
NSString *const api_me_plan_notCompletedPlan = @"m/getHealthPlanUserListNotCompleted.action";

//健康方案列表 （系统推荐的）
NSString *const api_me_plan_sysPlanList = @"/m/getHealthSchemeTempletList.action";
//系统方案详情
NSString *const api_me_plan_sysDetail = @"m/getHealthPlanTempletList.action";
//系统计划详情
NSString *const api_me_plan_ssyPlanDetail = @"/m/getHealthPlanTempletById.action";

//健康方案详情
NSString *const api_healthPlan_detail = @"/m/getHealthSchemeUserById.action" ;

//健康方案评价分页
NSString *const api_me_plan_plancomment = @"/m/getHealthSchemeCommentList.action";


//添加方案
NSString *const api_me_plan_add = @"/m/insertHealthSchemeUser.action";
//完成方案计划
NSString *const api_me_plan_finish = @"m/updateHealthPlanUser.action";
//评论方案
NSString *const api_me_plan_comment = @"/m/insertHealthSchemeComment.action";

#pragma mark 积分
//用户积分
NSString *const api_me_point_all = @"/m/getUserScore.action" ;
//消耗积分
NSString *const api_me_point_reduce = @"/m/reduceUserScore.action" ;
//添加积分
NSString *const api_me_point_add = @"/m/addUserScore.action" ;
NSString *const api_me_point_customAdd = @"/m/AddCustomUserScore.action";
//积分明细数据
NSString *const api_me_point_history = @"/m/getUserScoreList.action" ;
//完成项
NSString *const api_me_point_complete = @"/m/getUserScoreComplete.action" ;

//送心意<健康币>
NSString *const api_me_point_sendCoin = @"/m/personallyMoney.action";
//健康币历史
NSString *const api_me_healthMoney = @"/m/getUserHealthMoenyList.action" ;


//扫描结果。获取硬件信息
NSString *const api_scandevice_equip = @"/m/scanpdeviceCode.action" ;
//绑定设备，成为私人医生
NSString *const api_scandevice_equipdoc = @"/m/createDevicePrivateDoctor.action";

//更新设置信息
NSString *const api_me_updateSetting = @"/m/log!updateSetting.action" ;
//重置密码
NSString *const api_me_resetPassword = @"/m/user/changePassword.action" ;

#pragma mark - 问诊

//发起问诊
NSString *const api_ask_addInquiry = @"/m/addInquiry.action" ;
//问诊列表
NSString *const api_ask_inquiryList = @"/m/getInquiryList.action" ;
//问诊详情
NSString *const api_ask_detail = @"/m/getInquiryById.action" ;
//用户追问
NSString *const api_ask_replyInquiry = @"/m/userReplyInquiry.action" ;
//修改消息状态
NSString *const api_ask_updateReadType = @"/m/updateReadtype.action" ;
//删除问诊消息
NSString *const api_ask_delete = @"/m/delInquiryById.action" ;
//问诊小红点
NSString *const api_ask_redMark = @"/m/getInquiryMark.action";


#pragma mark - 医生信息

//医生列表
NSString *const api_doctor_list = @"/m/doctor!queryDoctor.action" ;
//医生列表 服务的下拉框
NSString *const api_doctor_serviceList = @"/m/getDoctorService.action" ;
//关注医生
NSString *const api_me_mydoctor_attention = @"/m/addAttention.action" ;
//取消关注医生
NSString *const api_me_mydoctor_deleteAttention = @"/m/deleteAttention.action" ;
//我的医生
NSString *const api_me_mydoctor_list = @"/m/myDoctorList.action" ;
//评价医生的服务
NSString *const api_doctor_evaluationService = @"/m/appraiseServiceDoctor.action";
//评价医生的问诊
NSString *const api_doctor_evaluationAsk = @"/m/commentInquiryDoctor.action";

//医生详情
NSString *const api_me_mydoctor_info = @"/m/doctorInfo.action" ;
//医生服务
NSString *const api_me_mydoctor_serviceSetting = @"/m/getDoctorServiceSetting.action" ;
//医生服务详情
NSString *const api_me_mydoctor_serviceSettingDetail = @"/m/getDoctorServiceSettingItem.action";
//医生主页 下的用户评论列表
NSString *const api_me_mydoctor_infocomment = @"/m/doctorNoteScoreList.action" ;//投诉医生
//评价医生
NSString *const api_msg_doctor_evaluate = @"/m/appraiseDoctor.action" ;

//私人医生
//NSString *const api_me_prvivateDoctor_list = @"/m/getPDoctorList.action" ;
//开通私人医生
//NSString *const api_me_addPrvivateDoctor_list = @"/m/addPDoctor.action" ;
//NSString *const api_me_mydoctor_complaint = @"/m/complaint.action" ;
//搜索自己的医生
//NSString *const api_me_mydoctor_search = @"/m/myDoctorList.action";
//搜索所有医生
//NSString *const api_me_doctor_search = @"/m/doctor!queryDoctor.action" ;

#pragma mark - 健康银行
//健康银行列表
NSString *const api_healthBank_list = @"/m/getHealthBankList.action";
//健康银行详情
NSString *const api_healthBank_info = @"/m/getAttentionBankByDoctorid.action";
//关注健康银行
NSString *const api_healthBank_attention = @"/m/addAttentionBank.action";
//取消关注健康银行
NSString *const api_healthBank_deleteAttention = @"/m/delAttentionBank.action";
//获取健康银行下的医生
NSString *const api_healthBank_doctorList = @"/m/getAttentionBankDoctorList.action" ;



#pragma mark - 环信服务
//获取环信服务状态
NSString *const api_huanXin_serviceStatus = @"/m/getServiceStatus.action" ;
//更新环信状态
NSString *const api_huanXin_updateServiceStatus = @"/m/updateServiceStatus.action" ;

//获取问卷详情
NSString *const api_huanXin_getQuesDetail = @"/m/getSurveyInfo.action" ;
//提交问卷
NSString *const api_huanXin_upQuesAnswer = @"/m/surveyComplete.action" ;


#pragma mark - 支付

//获取支付签名
NSString *const api_alipay_sign = @"/payment/alipayApi.action" ;

NSString *const api_alipay_getSign = @"/payment/alipaySign.action";
NSString *const api_alipay_giftOrder = @"/m/createMindOrder.action";
NSString *const api_alipay_serviceOrder = @"/m/createServiceOrder.action";



#pragma mark  - 健康自测
NSString *const api_evaluation_chinaDocSubmit = @"/m/createChineseDetail.action" ;
//获取问题列表
NSString *const api_evaluation_questionList = @"/evaluation/queslist.html" ;
//提交答案
NSString *const api_evaluation_getAnswer = @"/m/evaluation!calculate.action" ;

//中医体检问题列表
NSString *const api_evaluation_chinaDoctorQuesList = @"/m/getCategoryList.action" ;

//风险评估提交答案
NSString *const api_evaluation_dangerQuesSubmit = @"/m/createMajoreval.action" ;
//风险评估问题列表
NSString *const api_evaluation_dangerQuesList = @"/m/getMajorevalQuestion.action" ;


//输入密码支付
NSString *const api_evaluation_submitPay = @"/m/pay/payCardMajor.action" ;
NSString *const api_evaluation_submitPayDoc = @"/m/updateMajorevaDoctor.action" ;

NSString *const api_evaluation_majoreDetail =@"/m/getMajorevalDetail.action" ;
//历史数据删除
NSString *const api_evaluation_majoreDelete = @"/m/deleteMajoreva.action" ;


//点击付款后获取医生
NSString *const api_evaluation_inputCardGetDoctor = @"/m/doctor!queryDoctor.action" ;


#pragma mark - 家人

//家人数据列表
NSString *const api_myfamily_dataList = @"/m/mFamilyUserDataGetData.action" ;

NSString *const api_myfamily_dataDetail = @"/m/mFamilyUserDataGetDetailData.action" ;

//老年手机改变昵称
NSString *const api_myfamily_oldPhoneEidtNick = @"/m/mfamilyUpdnick.action" ;
//老年手机改变手机号
NSString *const api_myfamily_oldPhoneEditPhone = @"/m/oldmobile!update.action" ;
//获取老年手机IMEI
NSString *const api_myfamily_oldPhoneGetNumber = @"/m/oldmobile!list.action" ;
//老年手机是否能编辑
NSString *const api_myfamily_oldPhoneEditEnable = @"/m/oldmobile!mobify.action" ;
//老年手机运动轨迹
NSString *const api_myfamily_oldPhoneTrack = @"/m/oldmobile!track.action" ;




#pragma mark - 健康助手
//健康助手列表
NSString *const api_assistant_list = @"/m/myHealthHelperList.action" ;
//删除健康助手
NSString *const api_assistant_delete = @"/m/deleteHealthHelper.action" ;
//用户更换头像
NSString *const api_user_changeHimg = @"/m/user/uploadImage.action" ;
//更新用户信息
NSString *const api_user_changeUserInfo = @"/m/user/updateUser.action" ;

NSString *const api_scanDevice_doctorList = @"/m/getGeneralDoctor.action" ;


//设置中的三个按钮
NSString *const api_me_mseeageSetting = @"/m/log!setting.action" ;
//意见反馈接口
NSString *const api_me_feedBack = @"/m/feedback.action" ;


#pragma mark - 健康服务包


//首页的解决方案
NSString *const api_heathPlan_indexIntervene = @"/m/getInterveneIndex.action";
//首页 运动干预
NSString *const api_healthPlan_sportIntervene = @"/m/getInterveneSportById.action" ;
//首页 经络干预
NSString *const api_healthPlan_nerveIntervene = @"/m/getInterveneMeridianById.action" ;
//首页 膳食干预
NSString *const api_healthPlan_eatIntervene = @"/m/getInterveneMedicineddietById.action" ;
//首页 音乐干预
NSString *const api_healthPlan_musicIntervene = @"/m/getInterveneMusicById.action" ;


//健康服务包列表
NSString *const api_healthPlan_detail_list = @"/m/getInterveneList.action" ;
//封面信息
NSString *const api_healthPlan_detail_cover =@"/m/getInterveneCover.action" ;
//个人信息汇总
NSString *const api_healthPlan_detail_PersonInfo = @"/m/getInterveneUserHealthyInfo.action";
//调理处方
NSString *const api_healthPlan_detail_prescription = @"/m/getIntervenePrescription.action";
//健康行动指南
NSString *const api_healthPlan_detail_healthAction = @"/m/getInterveneHealthAction.action";
//医嘱建议
NSString *const api_healthPlan_detail_doctorAdvice = @"/m/getInterveneDoctorAdvice.action";
//医嘱建议列表
NSString *const api_healthPlan_detail_doctorAdviceList = @"/m/getQuestionList.action";

//经络方案
NSString *const api_healthPlan_detail_nerve = @"/m/getInterveneMeridian.action";
//膳食方案
NSString *const api_healthPlan_detail_meal = @"/m/getInterveneMedicineddiet.action";
//监测方案
NSString *const api_healthPlan_detail_monitor = @"/m/getInterveneMonitor.action";
//运动方案
NSString *const api_healthPlan_detail_sport = @"/m/getInterveneSport.action";
//音乐
NSString *const api_healthPlan_detail_music = @"/m/getInterveneMusic.action";
//健康服务包历史
NSString *const api_healthPlan_detail_history = @"/m/getInterveneHistoryList.action";



#pragma mark - 医嘱

//医嘱列表
NSString *const api_docAdvice_list = @"/m/getDoctorAdviceList.action" ;
//医嘱详情
NSString *const api_docAdvice_detail = @"/m/getDoctorAdviceById.action" ;

//#pragma mark - 消息
//
////系统6项数据列表
//NSString *const api_msg_messageList = @"/m/log!getSixLog.action";
////删除消息
//NSString *const api_msg_deleteMessage = @"/m/deleteLogByID.action";
////单项消息列表
//NSString *const api_msg_typeMessageList = @"/m/log!getTypeList.action";
////消息详情
//NSString *const api_msg_messageDetail = @"/m/logInfo.action";
////问卷调查
//NSString *const api_msg_complete = @"/m/surveyComplete.action";




